Integrand size = 22, antiderivative size = 99 \[ \int \frac {x \left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right )^2} \, dx=\frac {3 d \sqrt {c+d x^2}}{2 b^2}-\frac {\left (c+d x^2\right )^{3/2}}{2 b \left (a+b x^2\right )}-\frac {3 d \sqrt {b c-a d} \text {arctanh}\left (\frac {\sqrt {b} \sqrt {c+d x^2}}{\sqrt {b c-a d}}\right )}{2 b^{5/2}} \]
-1/2*(d*x^2+c)^(3/2)/b/(b*x^2+a)-3/2*d*arctanh(b^(1/2)*(d*x^2+c)^(1/2)/(-a *d+b*c)^(1/2))*(-a*d+b*c)^(1/2)/b^(5/2)+3/2*d*(d*x^2+c)^(1/2)/b^2
Time = 0.22 (sec) , antiderivative size = 96, normalized size of antiderivative = 0.97 \[ \int \frac {x \left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right )^2} \, dx=\frac {\sqrt {c+d x^2} \left (-b c+3 a d+2 b d x^2\right )}{2 b^2 \left (a+b x^2\right )}-\frac {3 d \sqrt {-b c+a d} \arctan \left (\frac {\sqrt {b} \sqrt {c+d x^2}}{\sqrt {-b c+a d}}\right )}{2 b^{5/2}} \]
(Sqrt[c + d*x^2]*(-(b*c) + 3*a*d + 2*b*d*x^2))/(2*b^2*(a + b*x^2)) - (3*d* Sqrt[-(b*c) + a*d]*ArcTan[(Sqrt[b]*Sqrt[c + d*x^2])/Sqrt[-(b*c) + a*d]])/( 2*b^(5/2))
Time = 0.21 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.05, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.227, Rules used = {353, 51, 60, 73, 221}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {x \left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right )^2} \, dx\) |
\(\Big \downarrow \) 353 |
\(\displaystyle \frac {1}{2} \int \frac {\left (d x^2+c\right )^{3/2}}{\left (b x^2+a\right )^2}dx^2\) |
\(\Big \downarrow \) 51 |
\(\displaystyle \frac {1}{2} \left (\frac {3 d \int \frac {\sqrt {d x^2+c}}{b x^2+a}dx^2}{2 b}-\frac {\left (c+d x^2\right )^{3/2}}{b \left (a+b x^2\right )}\right )\) |
\(\Big \downarrow \) 60 |
\(\displaystyle \frac {1}{2} \left (\frac {3 d \left (\frac {(b c-a d) \int \frac {1}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx^2}{b}+\frac {2 \sqrt {c+d x^2}}{b}\right )}{2 b}-\frac {\left (c+d x^2\right )^{3/2}}{b \left (a+b x^2\right )}\right )\) |
\(\Big \downarrow \) 73 |
\(\displaystyle \frac {1}{2} \left (\frac {3 d \left (\frac {2 (b c-a d) \int \frac {1}{\frac {b x^4}{d}+a-\frac {b c}{d}}d\sqrt {d x^2+c}}{b d}+\frac {2 \sqrt {c+d x^2}}{b}\right )}{2 b}-\frac {\left (c+d x^2\right )^{3/2}}{b \left (a+b x^2\right )}\right )\) |
\(\Big \downarrow \) 221 |
\(\displaystyle \frac {1}{2} \left (\frac {3 d \left (\frac {2 \sqrt {c+d x^2}}{b}-\frac {2 \sqrt {b c-a d} \text {arctanh}\left (\frac {\sqrt {b} \sqrt {c+d x^2}}{\sqrt {b c-a d}}\right )}{b^{3/2}}\right )}{2 b}-\frac {\left (c+d x^2\right )^{3/2}}{b \left (a+b x^2\right )}\right )\) |
(-((c + d*x^2)^(3/2)/(b*(a + b*x^2))) + (3*d*((2*Sqrt[c + d*x^2])/b - (2*S qrt[b*c - a*d]*ArcTanh[(Sqrt[b]*Sqrt[c + d*x^2])/Sqrt[b*c - a*d]])/b^(3/2) ))/(2*b))/2
3.8.43.3.1 Defintions of rubi rules used
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[ (a + b*x)^(m + 1)*((c + d*x)^n/(b*(m + 1))), x] - Simp[d*(n/(b*(m + 1))) Int[(a + b*x)^(m + 1)*(c + d*x)^(n - 1), x], x] /; FreeQ[{a, b, c, d, n}, x ] && ILtQ[m, -1] && FractionQ[n] && GtQ[n, 0]
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[ (a + b*x)^(m + 1)*((c + d*x)^n/(b*(m + n + 1))), x] + Simp[n*((b*c - a*d)/( b*(m + n + 1))) Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a, b, c, d}, x] && GtQ[n, 0] && NeQ[m + n + 1, 0] && !(IGtQ[m, 0] && ( !Integer Q[n] || (GtQ[m, 0] && LtQ[m - n, 0]))) && !ILtQ[m + n + 2, 0] && IntLinear Q[a, b, c, d, m, n, x]
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[ {p = Denominator[m]}, Simp[p/b Subst[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] && Lt Q[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntL inearQ[a, b, c, d, m, n, x]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x /Rt[-a/b, 2]], x] /; FreeQ[{a, b}, x] && NegQ[a/b]
Int[(x_)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.), x_Symbol] :> Simp[1/2 Subst[Int[(a + b*x)^p*(c + d*x)^q, x], x, x^2], x] /; FreeQ[ {a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0]
Time = 3.06 (sec) , antiderivative size = 109, normalized size of antiderivative = 1.10
method | result | size |
pseudoelliptic | \(\frac {-\frac {3 d \left (b \,x^{2}+a \right ) \left (a d -b c \right ) \arctan \left (\frac {b \sqrt {d \,x^{2}+c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{2}+\frac {3 \sqrt {\left (a d -b c \right ) b}\, \sqrt {d \,x^{2}+c}\, \left (\frac {\left (2 d \,x^{2}-c \right ) b}{3}+a d \right )}{2}}{b^{2} \left (b \,x^{2}+a \right ) \sqrt {\left (a d -b c \right ) b}}\) | \(109\) |
risch | \(\frac {d \sqrt {d \,x^{2}+c}}{b^{2}}-\frac {-\frac {\left (a d -b c \right ) d \ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {d \left (x +\frac {\sqrt {-a b}}{b}\right )^{2}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x +\frac {\sqrt {-a b}}{b}}\right )}{b \sqrt {-\frac {a d -b c}{b}}}-\frac {\left (a d -b c \right ) d \ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {d \left (x -\frac {\sqrt {-a b}}{b}\right )^{2}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x -\frac {\sqrt {-a b}}{b}}\right )}{b \sqrt {-\frac {a d -b c}{b}}}-\frac {\sqrt {-a b}\, \left (a^{2} d^{2}-2 a b c d +b^{2} c^{2}\right ) \left (\frac {b \sqrt {d \left (x +\frac {\sqrt {-a b}}{b}\right )^{2}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{\left (a d -b c \right ) \left (x +\frac {\sqrt {-a b}}{b}\right )}+\frac {d \sqrt {-a b}\, \ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {d \left (x +\frac {\sqrt {-a b}}{b}\right )^{2}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x +\frac {\sqrt {-a b}}{b}}\right )}{\left (a d -b c \right ) \sqrt {-\frac {a d -b c}{b}}}\right )}{4 a \,b^{2}}+\frac {\sqrt {-a b}\, \left (a^{2} d^{2}-2 a b c d +b^{2} c^{2}\right ) \left (\frac {b \sqrt {d \left (x -\frac {\sqrt {-a b}}{b}\right )^{2}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{\left (a d -b c \right ) \left (x -\frac {\sqrt {-a b}}{b}\right )}-\frac {d \sqrt {-a b}\, \ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {d \left (x -\frac {\sqrt {-a b}}{b}\right )^{2}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x -\frac {\sqrt {-a b}}{b}}\right )}{\left (a d -b c \right ) \sqrt {-\frac {a d -b c}{b}}}\right )}{4 a \,b^{2}}}{b^{2}}\) | \(902\) |
default | \(\text {Expression too large to display}\) | \(2152\) |
3/2*(-d*(b*x^2+a)*(a*d-b*c)*arctan(b*(d*x^2+c)^(1/2)/((a*d-b*c)*b)^(1/2))+ ((a*d-b*c)*b)^(1/2)*(d*x^2+c)^(1/2)*(1/3*(2*d*x^2-c)*b+a*d))/((a*d-b*c)*b) ^(1/2)/b^2/(b*x^2+a)
Time = 0.28 (sec) , antiderivative size = 333, normalized size of antiderivative = 3.36 \[ \int \frac {x \left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right )^2} \, dx=\left [\frac {3 \, {\left (b d x^{2} + a d\right )} \sqrt {\frac {b c - a d}{b}} \log \left (\frac {b^{2} d^{2} x^{4} + 8 \, b^{2} c^{2} - 8 \, a b c d + a^{2} d^{2} + 2 \, {\left (4 \, b^{2} c d - 3 \, a b d^{2}\right )} x^{2} - 4 \, {\left (b^{2} d x^{2} + 2 \, b^{2} c - a b d\right )} \sqrt {d x^{2} + c} \sqrt {\frac {b c - a d}{b}}}{b^{2} x^{4} + 2 \, a b x^{2} + a^{2}}\right ) + 4 \, {\left (2 \, b d x^{2} - b c + 3 \, a d\right )} \sqrt {d x^{2} + c}}{8 \, {\left (b^{3} x^{2} + a b^{2}\right )}}, -\frac {3 \, {\left (b d x^{2} + a d\right )} \sqrt {-\frac {b c - a d}{b}} \arctan \left (-\frac {{\left (b d x^{2} + 2 \, b c - a d\right )} \sqrt {d x^{2} + c} \sqrt {-\frac {b c - a d}{b}}}{2 \, {\left (b c^{2} - a c d + {\left (b c d - a d^{2}\right )} x^{2}\right )}}\right ) - 2 \, {\left (2 \, b d x^{2} - b c + 3 \, a d\right )} \sqrt {d x^{2} + c}}{4 \, {\left (b^{3} x^{2} + a b^{2}\right )}}\right ] \]
[1/8*(3*(b*d*x^2 + a*d)*sqrt((b*c - a*d)/b)*log((b^2*d^2*x^4 + 8*b^2*c^2 - 8*a*b*c*d + a^2*d^2 + 2*(4*b^2*c*d - 3*a*b*d^2)*x^2 - 4*(b^2*d*x^2 + 2*b^ 2*c - a*b*d)*sqrt(d*x^2 + c)*sqrt((b*c - a*d)/b))/(b^2*x^4 + 2*a*b*x^2 + a ^2)) + 4*(2*b*d*x^2 - b*c + 3*a*d)*sqrt(d*x^2 + c))/(b^3*x^2 + a*b^2), -1/ 4*(3*(b*d*x^2 + a*d)*sqrt(-(b*c - a*d)/b)*arctan(-1/2*(b*d*x^2 + 2*b*c - a *d)*sqrt(d*x^2 + c)*sqrt(-(b*c - a*d)/b)/(b*c^2 - a*c*d + (b*c*d - a*d^2)* x^2)) - 2*(2*b*d*x^2 - b*c + 3*a*d)*sqrt(d*x^2 + c))/(b^3*x^2 + a*b^2)]
\[ \int \frac {x \left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right )^2} \, dx=\int \frac {x \left (c + d x^{2}\right )^{\frac {3}{2}}}{\left (a + b x^{2}\right )^{2}}\, dx \]
Exception generated. \[ \int \frac {x \left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right )^2} \, dx=\text {Exception raised: ValueError} \]
Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation *may* help (example of legal syntax is 'assume(a*d-b*c>0)', see `assume?` for m ore detail
Time = 0.28 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.23 \[ \int \frac {x \left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right )^2} \, dx=\frac {\sqrt {d x^{2} + c} d}{b^{2}} + \frac {3 \, {\left (b c d - a d^{2}\right )} \arctan \left (\frac {\sqrt {d x^{2} + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{2 \, \sqrt {-b^{2} c + a b d} b^{2}} - \frac {\sqrt {d x^{2} + c} b c d - \sqrt {d x^{2} + c} a d^{2}}{2 \, {\left ({\left (d x^{2} + c\right )} b - b c + a d\right )} b^{2}} \]
sqrt(d*x^2 + c)*d/b^2 + 3/2*(b*c*d - a*d^2)*arctan(sqrt(d*x^2 + c)*b/sqrt( -b^2*c + a*b*d))/(sqrt(-b^2*c + a*b*d)*b^2) - 1/2*(sqrt(d*x^2 + c)*b*c*d - sqrt(d*x^2 + c)*a*d^2)/(((d*x^2 + c)*b - b*c + a*d)*b^2)
Time = 5.51 (sec) , antiderivative size = 117, normalized size of antiderivative = 1.18 \[ \int \frac {x \left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right )^2} \, dx=\frac {\sqrt {d\,x^2+c}\,\left (\frac {a\,d^2}{2}-\frac {b\,c\,d}{2}\right )}{b^3\,\left (d\,x^2+c\right )-b^3\,c+a\,b^2\,d}+\frac {d\,\sqrt {d\,x^2+c}}{b^2}-\frac {3\,d\,\mathrm {atan}\left (\frac {\sqrt {b}\,d\,\sqrt {d\,x^2+c}\,\sqrt {a\,d-b\,c}}{a\,d^2-b\,c\,d}\right )\,\sqrt {a\,d-b\,c}}{2\,b^{5/2}} \]